//
//  ViewController.m
//  LBTwoLinkedScrollingCollectionView
//
//  Created by mac on 2024/6/25.
//

#import "ViewController.h"
#import "LBLinkedContentView.h"

@interface ViewController ()

@property (nonatomic, strong) LBLinkedContentView *contentView;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view addSubview:self.contentView];
    self.view.backgroundColor = [UIColor whiteColor];
    self.contentView.backgroundColor = [UIColor magentaColor];
    // Do any additional setup after loading the view.
}

#pragma mark - lazy load

- (LBLinkedContentView *)contentView
{
    if (!_contentView) {
        _contentView = [[LBLinkedContentView alloc] initWithFrame:CGRectMake(10, 100, CGRectGetWidth(self.view.bounds) - 20, 200)];
    }
    return _contentView;
}

@end
